import Vue from 'vue';
import App from './App';
import store from './store'; // store
import plugins from './plugins'; // plugins
import './permission'; // permission
import {
  beforeCreate,
} from './utils/init-app.js';

Vue.use(plugins);

Vue.config.productionTip = false;
Vue.prototype.$store = store;

App.mpType = 'app';


const createApp = () => {
  
  const app = new Vue({
    ...App,
  });
  
  app.$mount();
  
};

beforeCreate({
  store,
}, createApp);
